class AlterElements < ActiveRecord::Migration
  def self.up
  	add_column :elements, :type, :string
  	add_column :elements, :brand_id, :integer
  	add_column :elements, :family_id, :integer
  	add_column :elements, :color, :integer
  	add_column :elements, :binary, :binary
  end

  def self.down
  	remove_column :elements, :type
  	remove_column :elements, :brand_id
  	remove_column :elements, :family_id
  	remove_column :elements, :color
  	remove_column :elements, :binary
  end
end
